package com.example.tijian_doctor_backend.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: bong~
 * @description: TODO
 * @date: 2024/6/20 11:59
 * @version: 1.0
 */

@Data
public class OrdersPageResponseDTO {

    private List<OrdersResponseDTO> list;


    private long totalRow;
    private Integer maxPageNum;

    public OrdersPageResponseDTO(){
        list=new ArrayList<>();
    }

    public OrdersPageResponseDTO(List<OrdersResponseDTO> list,long totalRow,Integer maxPageNum){
        this.list=list;
        this.totalRow=totalRow;
        this.maxPageNum=maxPageNum;
    }

}
